import request from "@/utils/request";

// 获取摄像头分页列表
export function getCameraListPage(query) {
    return request({
        url: "/camera/getCameraListPage",
        method: "get",
        params: query,
    });
}

// 将摄像头信息保存到数据库
export function saveCameraList() {
    return request({
        url: "/camera/saveCameraList",
        method: "get",
    });
}

/**
 * 获取GIS摄像头列表
 * @returns
 */
export function getCameraListByGis() {
    return request({
        url: "/camera/getCameraListByGis",
        method: "get",
    });
}
